
import axios from '@/libs/request/axios'

// 根据模型计算
export const calc = (data) => {
    return axios.request({
        url: '/channel/grade/gradeModel/calc',
        data,
        method: 'post'
    })
}

// 动态评级结果页面查询
export const queryGradeResult = (data) => {
    return axios.request({
        url: '/channel/grade/gradeModelResult/queryGradeResult',
        data,
        method: 'post'
    })
}

//应用按钮 /grade/gradeModelResult/apply
export const applyList = (data) => {
    return axios.request({
        url: '/channel/grade/gradeModelResult/apply',
        data,
        method: 'post'
    })
}

//手工修改一级指标分数 /grade/gradeModelResult/saveChangeResult
export const saveChangeResult = (data) => {
    return axios.request({
        url: '/channel/grade/gradeModelResult/saveChangeResult',
        data,
        method: 'post'
    })
}
///grade/gradeModelResult/exportGradeResult 动态评级结果导出
export const exportGradeResult = (data) => {
    return axios.request({
        url: '/channel/grade/gradeModelResult/exportGradeResult',
        data,
        method: 'post'
    })
}
